toggle menu
flatInvoker
ios
switch theme
search in API
reaktor-db
/
dev.shibasis.reaktor.io.adapters
/
[ios]JetpackKeyValueStore
Jetpack
Key
Value
Store
ios
class
JetpackKeyValueStore
<
Controller
>
(
controller
:
Controller
,
name
:
String
,
fileAdapter
:
FileAdapter
<
*
>
)
:
KeyValueStore
<
Controller
>
Members
Constructors
Jetpack
Key
Value
Store
Link copied to clipboard
ios
constructor
(
controller
:
Controller
,
name
:
String
,
fileAdapter
:
FileAdapter
<
*
>
)
Properties
controller
Link copied to clipboard
ios
val
controller
:
Controller
?
data
Store
Link copied to clipboard
ios
val
dataStore
:
DataStore
<
Preferences
>
name
Link copied to clipboard
ios
val
name
:
String
NULL_CONTROLLER
Link copied to clipboard
ios
val
NULL_CONTROLLER
:
Error
ref
Link copied to clipboard
ios
val
ref
:
WeakRef
<
Controller
>
scope
Link copied to clipboard
ios
val
scope
:
CoroutineScope
Functions
clear
Link copied to clipboard
ios
open
suspend override
fun
clear
(
)
get
Link copied to clipboard
ios
open
suspend override
fun
get
(
key
:
String
)
:
String
?
handle
Link copied to clipboard
ios
open
override
fun
handle
(
event
:
ControllerEvent
)
fun
handle
(
controller
:
Controller
,
event
:
ControllerEvent
)
invoke
Link copied to clipboard
ios
operator
fun
<
Result
>
invoke
(
function
:
Controller
.
(
)
->
Result
?
)
:
Result
?
invoke
Suspend
Link copied to clipboard
ios
suspend
fun
<
Result
>
invokeSuspend
(
function
:
suspend
Controller
.
(
)
->
Result
?
)
:
Result
?
null
Controller
Result
Link copied to clipboard
ios
fun
<
T
>
nullControllerResult
(
)
:
Result
<
T
>
remove
Link copied to clipboard
ios
open
suspend override
fun
remove
(
key
:
String
)
set
Link copied to clipboard
ios
open
suspend override
fun
set
(
key
:
String
,
value
:
String
)